enum, set - Mailing list pgsql-novice

From M Spreij
Subject enum, set
Date
Msg-id a05210607bb214884c369@[192.168.1.12]
Whole thread Raw
Responses Re: enum, set
List pgsql-novice
   Just recently started using PostgreSQL, and there are some things
I've that I've come to like in MySQL and wondering how to do those in
PostgreSQL. (I know that I should also be looking at all PG's
features that MySQL doesn't have, but.. ;-)
   For example, the ENUM or SET column types, how would one go about
porting/implementing those? I got this form where the admin needs to
specify the possible methods of shipping, per country, from a bunch
of checkboxes (these would be records in the shipping_methods table),
but also add new ones (creating a new record in that table). All good
so far, but how do I save the selection? Do I need to use the array
datatype (rather not if possible..) ?
   Using PHP/Apache.

Regards,

     Martin
--
<mailto:mac.com@nemo>
<http://www.mechintosh.com/>

pgsql-novice by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Address Table
Next
From: Rudi Starcevic
Date:
Subject: Address Table